package com.ruoyi.project.park.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 停车车位对象 biz_parking
 * 
 * @author ruoyi
 * @date 2024-04-08
 */
public class BizParking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 车位编号 */
    @Excel(name = "车位编号")
    private String parkingId;

    /** 车位名称 */
    @Excel(name = "车位名称")
    private String parkingName;

    /** 车位当前的空闲状态 */
    @Excel(name = "车位当前的空闲状态")
    private String vacancyStatus;

    /** 当前停放车辆的车牌号码 */
    @Excel(name = "当前停放车辆的车牌号码")
    private String vehicleLicensePlate;

    /** 车辆开始停放的时间戳 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "车辆开始停放的时间戳", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss ")
    private Date parkingStartTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setParkingId(String parkingId) 
    {
        this.parkingId = parkingId;
    }

    public String getParkingId() 
    {
        return parkingId;
    }
    public void setParkingName(String parkingName) 
    {
        this.parkingName = parkingName;
    }

    public String getParkingName() 
    {
        return parkingName;
    }
    public void setVacancyStatus(String vacancyStatus) 
    {
        this.vacancyStatus = vacancyStatus;
    }

    public String getVacancyStatus() 
    {
        return vacancyStatus;
    }
    public void setVehicleLicensePlate(String vehicleLicensePlate) 
    {
        this.vehicleLicensePlate = vehicleLicensePlate;
    }

    public String getVehicleLicensePlate() 
    {
        return vehicleLicensePlate;
    }
    public void setParkingStartTime(Date parkingStartTime) 
    {
        this.parkingStartTime = parkingStartTime;
    }

    public Date getParkingStartTime() 
    {
        return parkingStartTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parkingId", getParkingId())
            .append("parkingName", getParkingName())
            .append("vacancyStatus", getVacancyStatus())
            .append("vehicleLicensePlate", getVehicleLicensePlate())
            .append("parkingStartTime", getParkingStartTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
